package br.uefs.dexa.rfframework.gui.config.dialogs;

public class FeatureListItem {
	
	private int progress;
	
	private String statusText;
	
    private String description;
    
    private boolean isEnabled = true;
    
    public FeatureListItem(String descriptionText) 
    {
        description = descriptionText;
        statusText = "0%";
        progress = 0;
    }
    
    public void setProgress(int value) 
    {
        progress = value;
        statusText = value + "%";
    }
    
    public void reset() 
    {
        statusText = "0%";
        progress = 0;
    }
    
	public String getMessage() 
	{
		return statusText;
	}

	public String getDescription() 
	{
		return description;
	}

	public int getProgress() 
	{
		return progress;
	}
   
	 public void setEnabled(boolean isEnabled) {
         this.isEnabled = isEnabled;
    }
    

    public boolean isEnabled() {
         return this.isEnabled;
    }
    

}
